package com.campusbackend.entity.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Pattern;

/**
 * 用户审核请求VO
 * 
 * @author yezi
 * @since 2025-07-27
 */
@Data
@Schema(name = "UserAuditRequestVO", description = "用户审核请求对象")
public class UserAuditRequestVO {
    
    @Schema(description = "用户ID", required = true)
    @NotNull(message = "用户ID不能为空")
    private Long userId;
    
    @Schema(description = "用户类型：1-教师，2-学生", required = true)
    @NotNull(message = "用户类型不能为空")
    private Integer userType;
    
    @Schema(description = "审核状态：1-审核通过，2-审核拒绝", required = true)
    @NotNull(message = "审核状态不能为空")
    @Pattern(regexp = "^[12]$", message = "审核状态只能是1（通过）或2（拒绝）")
    private String auditStatus;
    
    @Schema(description = "审核备注", required = false)
    private String auditReason;
}
